export function loginApi(httpData){
	return uni.$u.http.post("/auth/api/login",httpData)
}

export function getPhoneInfoAPI(httpData){
	return uni.$u.http.post("/auth/wx/login",httpData)
}

export function setUserInfoAPI(httpData){
	return uni.$u.http.post("/vadmin/auth/user/current/update/info", httpData)
}

export function getUserInfoAPI(httpData){
	const authToken = uni.getStorageSync('authToken')
	return uni.$u.http.get("/vadmin/auth/users/current/" + authToken.userId)
}

export function refreshToken(httpData){
	return uni.$u.http.post("/auth/token/refresh",httpData)
}